import type { CommonReturn, CommonReturnListItem } from '@/apis/types/all.ts'

export type JobItem = CommonReturnListItem<'/v1/compute/job/list', 'get'>

export type Job = CommonReturn<'/v1/compute/job', 'get'>

export type JobInfo = NonNullable<Job['job_info']>

export type JobStatus = UnwrapArray<NonNullable<Job['status']>>
